package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.HouseOrder;
import java.util.List;

import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ClayeLink
 * @date 2022/4/8 1:35
 */
@Mapper
public interface HouseOrderMapper {
    int deleteByPrimaryKey(Integer orderId);

    int insert(HouseOrder record);

    int insertSelective(HouseOrder record);

    HouseOrder selectByPrimaryKey(Integer orderId);

    int updateByPrimaryKeySelective(HouseOrder record);

    int updateByPrimaryKey(HouseOrder record);

    int updateBatch(List<HouseOrder> list);

    int batchInsert(@Param("list") List<HouseOrder> list);

    List<HouseOrder> selectAll();

    List<HouseOrder> selectAllByOrderState(Integer orderState);

    List<HouseOrder> selectByUserID(Integer orderId);
}